package com.shop.technicalservice.dao.deliver;

import java.util.List;

import com.shop.technicalservice.model.deliver.Deliver;

public interface DeliverDao {
	
	public Deliver save(Deliver transientInstance) throws Exception;
	
	public void delete(Deliver persistentInstance) throws Exception;
	
	public List findAll() throws Exception;
	
	public Deliver merge(Deliver detachedInstance) throws Exception;
	
	public Deliver findById(java.lang.Integer id)  throws Exception;
	
	public List findByExample(Deliver instance)  throws Exception;
	
	public List findByProperty(String propertyName, Object value) throws Exception;
	
	public List findByDescription(Object description) throws Exception;
	
	public List findByAmount(Object amount)  throws Exception;
	
	public void attachDirty(Deliver instance) throws Exception ;
	
	public void attachClean(Deliver instance)  throws Exception;
}
